Syntactic Control of Interference Revisited
نویسندگان
چکیده
In “syntactic control of interference” (POPL, 1978), J.C. Reynolds proposes three design principles intended to constrain the scope of imperative state e ects in Algol-like languages. The resulting linguistic framework seems to be a very satisfactory way of combining functional and imperative concepts, having the desirable attributes of both purely functional languages (such as PCF) and simple imperative languages (such as the language of while programs). However, Reynolds points out that the “obvious” syntax for interference control has the unfortunate property that -reductions do not always preserve typings. Reynolds has subsequently presented a solution to this problem (ICALP, 1989), but it is fairly complicated and requires intersection types in the type system. Here, we present a much simpler solution which does not require intersection types. We rst describe a new type system inspired in part by linear logic and verify that reductions preserve typings. We then de ne a class of “bire ective” models, which provide a categorical analysis of structure underlying the new typing rules; a companion paper “Bire ectivity”, in this volume, exposes wider rami cations of this structure. Finally, we describe a concrete model for an illustrative programming language based on the new type system; this improves on earlier such e orts in that states are not assumed to be structured using locations. c © 1999 Published by Elsevier Science B.V. All rights reserved.
منابع مشابه
Syntactic Control of Interference Revisited Contents 1 Introduction 1 2 Syntax 5 2.1 Passive Uses 5 2.2 the Scir Type System 5 2.3 an Illustrative Programming Language 8 2.4 Examples 9 2.5 Typing and Reduction 11
In \Syntactic Control of Interference" (POPL, 1978), J. C. Reynolds proposes three design principles intended to constrain the scope of imperative state eeects in Algol-like languages. The resulting linguistic framework seems to be a very satisfactory way of combining functional and imperative concepts, having the desirable attributes of both purely functional languages (such as pcf) and simple...
متن کاملType Reconstruction for Syntactic Control of Interference, Part 2
Syntactic Control of Interference (SCI) 17] has long been studied as a basis for interference-free programming , with cleaner reasoning properties and semantics than traditional imperative languages. This paper improves upon Huang and Reddy's type inference system 7] for SCI-based languages in two signiicant ways. First, we eliminate the need for explicit coercion operators in terms. Second, we...
متن کاملType Reconstruction for Syntactic Control of Interference Part
Syntactic Control of Interference SCI has long been studied as a basis for interference free program ming with cleaner reasoning properties and seman tics than traditional imperative languages This paper improves upon Huang and Reddy s type inference system for SCI based languages in two signi cant ways First we eliminate the need for explicit coercion operators in terms Second we consider addi...
متن کاملImpedance Control of Robots Using Voltage Control Strategy Revisited
In this note, we show that the impedance control strategy proposed in the paper is not feasible from practical implementation point of view. Next, a robust impedance controller is proposed for electrically driven robots using Fourier series (FS). The fact that robots' actuators have limited voltage is also considered in controller design procedure. In comparison with other impedance controllers...
متن کاملSyntax in music and language: The role of cognitive control
The relationship between structural (or syntactic) processing in music and in language is not yet clear. Evidence indicating that these two processes are shared conflicts with other results suggesting that they are largely distinct. These conflicting findings suggest that musical and linguistic processing may share some, but not all, underlying processes, raising the question of what exactly th...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 1 شماره
صفحات -
تاریخ انتشار 1995